﻿using System;
using System.Collections.Generic;
using System.Text;

namespace LibRTC.Core.MessageMap.MessagingEvent
{
    /// <summary>
    /// Server interface, Server who want to provide a registeration for Client should 
    /// implement this interface
    /// </summary>
    public interface IMessagingRegister
    {
        /// <summary>
        /// Register client interface
        /// </summary>
        /// <param name="clientInterface">client interface</param>
        void Register(IMessagingUI clientInterface);

        /// <summary>
        /// unregister client interface
        /// </summary>
        /// <param name="clientInterface">client interface</param>
        void UnRegister(IMessagingUI clientInterface);
    }
}
